{{each data as message index}}
<a href=./page/job-details.html?id={{message.id}}>
    <div class="box">
        <img src="../images/hotel-logo.png">
        <div class="box-content">
            <h5>{{message.title}}<span class="badge" style="margin-left: 5px">{{message.postType}}</span></h5>
            <h6>{{message.district}}<span class="salary">￥{{message.salary}}</span></h6>
            <h6 class="hotel-address"><img src="../images/location-icon.png"><span>{{message.detailAddress}}</span></h6>
        </div>
    </div>
</a>
{{/each}}